package com.example.kehoobackend.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.kehoobackend.common.CommonResponse;
import com.example.kehoobackend.domain.Admin;

import java.util.Map;

public interface AdminService extends IService<Admin> {

    CommonResponse<Map> login(String username, String password);

    boolean logout(Integer admin_id);

    CommonResponse<Map<String, String>> getAdminInfo(Integer admin_id);

    boolean updateLastLoginTime();
}
